package com.iframe.consumer.controller;

import com.alibaba.dubbo.config.annotation.Reference;
import com.iframe.api.info.EagleInfo;
import com.iframe.api.service.EagleService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class EagleController {

    @Reference(version = "1.0.1")
    private EagleService eagleService;

    @GetMapping("/find")
    public void find(){

        EagleInfo eagleInfo = eagleService.find(123);

        System.out.println();
    }
}
